package game;

import java.util.*;
public class Formula {
	private int result;
	private int operator;
	private int numOfCells;
	private int[] position;

	Formula() {
	}

	Formula(int r, int o, int n, int[] p) {
		result = r;
		operator = o;
		numOfCells = n;
		position = Arrays.copyOf(p, p.length);

	}

	public String toString() {

		return "Cage [numOfCells=" + numOfCells + ", operator=" + operator
				+ ", position=" + Arrays.toString(position) + ", result="
				+ result + "]";
	}

	public int getResult() {
		return result;
	}

	public void setResult(int result) {
		this.result = result;
	}

	public int getOperator() {
		return operator;
	}

	public void setOperator(int operator) {
		this.operator = operator;
	}

	public int getNumOfCells() {
		return numOfCells;
	}

	public void setNumOfCells(int numOfCells) {
		this.numOfCells = numOfCells;
	}

	public int[] getPosition() {
		return position;
	}

	public void setPosition(int[] position) {
		this.position = position;
	}

}
